package com.jiuhaohealth.kangxun360.main.mapper;

import com.jiuhaohealth.base.superpage.MapperSuper;
import com.jiuhaohealth.kangxun360.main.po.Account;
import com.jiuhaohealth.kangxun360.main.po.AccountCriteria;
import com.jiuhaohealth.kangxun360.main.po.AccountKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AccountMapper extends MapperSuper {
    int countByCriteria(AccountCriteria example);

    int deleteByCriteria(AccountCriteria example);

    @Deprecated
    int deleteByPrimaryKey(AccountKey key);

    int insert(Account record);

    int insertSelective(Account record);

    List<Account> selectByCriteria(AccountCriteria example);

    @Deprecated
    Account selectByPrimaryKey(AccountKey key);

    int updateByCriteriaSelective(@Param("record") Account record, @Param("example") AccountCriteria example);

    int updateByCriteria(@Param("record") Account record, @Param("example") AccountCriteria example);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);
}